import { createContext } from "react";

interface IChatTabContext {
  tabIndex: string;
  changeTab: (tab: any) => void;
}

export const ChatTabContext = createContext<IChatTabContext>(
  {} as IChatTabContext
);
